package service.Impl;

import dao.AdminLoginDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.AdminLogin;
import service.AdminLoginService;

@Service
public class AdminLoginServiceImpl implements AdminLoginService {

    @Autowired
    private AdminLoginDao adminLoginDao;

    @Override
    public AdminLogin login(String userName) {
        return adminLoginDao.selectByUserName(userName);
    }
}
